#include<stdio.h>
int main(void)
{
    int guess=1;
    printf("Pick an integer from 1 to 100,I will try to guess");
    printf("it .\nRespond with a y if my guess is right and with");
    printf("\n an n if it is wrong.\n");
    while(getchar()!='y')
    printf("Well,then,is it %d?\n",++guess);
    printf("I knew I could do it!\n");
    return 0;
}